﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp4
{
    class Superman : Animal,IFly
    {
        public Superman(string name) : base(name)
        {
        }

        public void Flying()
        {
            Console.WriteLine($"{Name}起飞");
        }

        public void Land()
        {
            Console.WriteLine($"{Name}飞行中");

        }

        public void TakeOff()
        {
            Console.WriteLine($"{Name}降落");

        }
    }
}
